home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5993 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: newsjunkie.ans.net!philabs!usenet
  2. From: abf@philabs.research.philips.com (Andrew Feldman)
  3. Newsgroups: comp.lang.c++
  4. Subject: HELP! Updating database via ODBC
  5. Date: Wed, 07 Feb 1996 20:06:13 GMT
  6. Organization: Philips Laboratories, Briarcliff, NY 10510
  7. Distribution: inet
  8. Message-ID: <4fam20$653@philabs.research.philips.com>
  9. NNTP-Posting-Host: idrpc5.philabs.research.philips.com
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. I'm writing a Visual C++ program which handles MS Access data via
  13. ODBC. While I was only reading from the database, everything was just
  14. fine. But WRITING is a pain in the neck, because by default it's very
  15. slow (something like 1sec per record). I know about SQLSetPos function
  16. which is supposed  to work 5 times faster. I even have a sample piece
  17. of code with this function. I use ODBC via Microsoft Foundation Class
  18. Library, which, as I see in the source code, supports SQLSetPos. But I
  19. never could make it work. And converting the program from good
  20. object-oriented style into raw C gives me even more pain than its low
  21. speed. I'm sure that I'm not the first one facing such a problem,
  22. that's why I'm writing here for help.
  23.  
  24. My environment:
  25. - Windows NT 3.5;
  26. - MS Visual C++ version 2.0;
  27. - MS Access version 2.0;
  28. - MS Access ODBC driver version 2.0 (I also tried 3.0).
  29.  
  30. Thank you all.
  31. Andrew Feldman.
  32.  
  33.